#ifndef BULLET_H_INCLUDED
#define BULLET_H_INCLUDED

struct Bullet
{
    BITMAP * img_right;
    BITMAP * img_left;
    int xb, yb;
    int direction_b;
};
typedef struct Bullet Bullet;



void load_bullet(Bullet *B);
void destroy_bullet(Bullet *B);
void init_bullet(Bullet *B,Leo leo);
void move_bullet_right(Bullet *B,int *compteur, Leo leo);
void move_bullet_left(Bullet *B,int *compteur, Leo leo);
void move_bullet(Bullet *B,int *compteur,Leo leo);
void draw_bullet(Bullet B,BITMAP *Buffer, int compteur);

#endif // BULLET_H_INCLUDED
